/**
* ...
* @author Default
* @version 0.1
*/

package bdz.dms.core{

	public class DMSConfig extends Object {
		public var baseURL:String;
		public var scriptPage:String;
		public var uploadFolder:String;
		
		private static var instance:DMSConfig;
		
		function DMSConfig(paccess:PrivateAccess):void {
			if(paccess == null){
				throw new Error("NullPointerException...");
			}
		}
		public static function getConfig():DMSConfig{
			if(instance == null){
				instance = new DMSConfig(new PrivateAccess());
			}
			return instance;
		}
	}
	
}
/**
 * @private
 * 
 */
class PrivateAccess{}